package xyz.chenyongpeng.orderproviderdubbo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import xyz.chenyongpeng.entity.ZsGAudio;
import xyz.chenyongpeng.orderproviderdubbo.mapper.ZsGAudioMapper;
import xyz.chenyongpeng.service.IZsGAudioService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import xyz.chenyongpeng.to.GAudioTo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品-资源语音讲解 服务实现类
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
public class ZsGAudioService extends ServiceImpl<ZsGAudioMapper, ZsGAudio> implements IZsGAudioService {

    @Autowired
    private ZsGAudioMapper zsGAudioMapper;

    @Override
    public List<GAudioTo> getAllAudio(Map<String, Object> parms) {
        return zsGAudioMapper.getAllAudio(parms);
    }
}
